package com.caipin.domain.web;

/**
 * @Author: zhunian0322@163.com
 * @DateTime: 2021-10-06 11:48
 * @Description: TODO
 */
public class AttendanceStatisticsTemp {
    private int count;

    private double totalRate;

    public com.caipin.domain.web.AttendanceStatisticsTemp setCount(int count) {
        this.count = count;
        return this;
    }

    public com.caipin.domain.web.AttendanceStatisticsTemp setTotalRate(double totalRate) {
        this.totalRate = totalRate;
        return this;
    }

    public boolean equals(Object o) {
        if (o == this)
            return true;
        if (!(o instanceof com.caipin.domain.web.AttendanceStatisticsTemp))
            return false;
        com.caipin.domain.web.AttendanceStatisticsTemp other = (com.caipin.domain.web.AttendanceStatisticsTemp)o;
        return !other.canEqual(this) ? false : ((getCount() != other.getCount()) ? false : (!(Double.compare(getTotalRate(), other.getTotalRate()) != 0)));
    }

    protected boolean canEqual(Object other) {
        return other instanceof com.caipin.domain.web.AttendanceStatisticsTemp;
    }

    public int hashCode() {
        int PRIME = 59;
        result = 1;
        result = result * 59 + getCount();
        long $totalRate = Double.doubleToLongBits(getTotalRate());
        return result * 59 + (int)($totalRate >>> 32L ^ $totalRate);
    }

    public String toString() {
        return "AttendanceStatisticsTemp(count=" + getCount() + ", totalRate=" + getTotalRate() + ")";
    }

    public int getCount() {
        return this.count;
    }

    public double getTotalRate() {
        return this.totalRate;
    }
}

